﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KLY.DataModels
{
    public class SearchTruckRequest
    {
        public string start_area { get; set; } //起点(省份码+城市码+00)eg: 370100 山东省济南市


        public string end_area { get; set; }

        public string vehicle_type { get; set; }

        public string vehicle_len { get; set; }

        public string vehicle_load { get; set; }

        public string time_begin { get; set; }

        public string time_end { get; set; }

        public int page_no { get; set; }

        public int page_size { get; set; }
    }

    public class SearchTruckResponse:BaseResponse
    {
        public SearchResult result { get; set; }

    }

    public class SearchResult
    {
        public int Total_Count { get; set; }

        public SearchTruckVehiclePub[] pub_list { get; set; }
    }
    public class SearchTruckVehiclePub
    {
        public string Owner_Id { get; set; }

        public string Owner_Name { get; set; }

        public int Owner_Stars { get; set; }

        public string Owner_Phone { get; set; }

        public string Carrier_Pub_Id { get; set; }

        public string start_area { get; set; }

        public string End_Area { get; set; }

        public int Vehicle_Type { get; set; }

        public int Vehicle_Len { get; set; }

        public int Vehicle_Load { get; set; }

        public string Vehicle_phote_url { get; set; }

        public decimal price { get; set; }

        public string shipment_time { get; set; }
    }
}
